simplex_2d

function simplex_2d(perm_mod12: list<integer>, perm: list<integer>, grad3: list<integer>, x: decimal, y: decimal): decimal